package com.sniff.atp.manager.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sniff.atp.entity.ExecuteResult;
import com.sniff.atp.manager.ExecuteResultManager;
import com.sniff.atp.mapper.ExecuteResultMapper;
import com.sniff.atp.utils.DateUtil;
import org.springframework.stereotype.Service;

/**
 * @BelongsProject: sniff-atp
 * @BelongsPackage: com.sniff.atp.manager.impl
 * @Author: zxy
 * @CreateTime: 2022-11-23 11:12
 * @Description: 执行结果记录
 * @Version: 1.0
 */
@Service
public class ExecuteResultManagerImpl extends ServiceImpl<ExecuteResultMapper, ExecuteResult> implements ExecuteResultManager {
    @Override
    public void saveOne(ExecuteResult executeResult) {
        executeResult.setCreate_time(DateUtil.date());
        this.save(executeResult);
    }
}
